/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package task1;

import java.util.*;



/**
 *
 * @author Admin
 */
public class Task1 {
    static final String INPUT_FILE_NAME = "INPUT.TXT";
    static final String OUTPUT_FILE_NAME = "OUTPUT.TXT";    
     

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        MyFile file = new MyFile();
        file.create_file(OUTPUT_FILE_NAME);
        List<String> input_list = new ArrayList<>();
        input_list = file.read_file(INPUT_FILE_NAME);
        MyTransfer transfer = new MyTransfer();
        for (String x : input_list){
            String text = transfer.transfer(x);
            file.write_file(OUTPUT_FILE_NAME, text);
        }        
    }
}
